package cn.zurish.cloud.kafka.mq;

import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

//@RestController
public class TestController {

    @Resource
    private MyBean myBean;

    @GetMapping("/test")
    public String test()
    {
        myBean.someMethod();
        return "test";
    }
}
